spinbutton: fix style context path for internal buttons
authorCosimo Cecchi <cosimoc@gnome.org>
Wed, 19 Sep 2012 19:41:19 +0000 (15:41 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 19 Sep 2012 19:41:19 +0000 (15:41 -0400)
commit2d5fa7852864820422e01457f6405350d78e23fd
tree5074a5a10e121f6bda9314a0e3142c7f866d1983
parent67e44e6a4ee5f9f404e98649f5f89c9379466012
spinbutton: fix style context path for internal buttons

We were adding one child too much to the style context path when
generating it for the internal buttons, which in turn caused sibling
selectors from the theme such as :first-child to apply to both buttons
under certain circumstances. Spotted by Lapo Calamandrei.
gtk/gtkspinbutton.c